<link rel="stylesheet" type="text/css" href="<?=gurl('css');?>/sites.css" />
<script language="javascript" src="<?=gurl('js');?>/sites.js"></script>
<!-- 主容器 -->
<div class="login">
<? if($account):?>
<a href="/home/profile/<?=$account["account_id"];?>"><?=$account["account_username"];?></a><a href="<?=gurl('accounts/logout');?>">退出</a><a href="<?=gurl('about/contact');?>">建议</a>
<? else:?>
<a href="<?=gurl('accounts/');?>">登录</a><a href="<?=gurl('accounts/');?>">注册</a><a href="<?=gurl('about/contact');?>">建议</a>
<? endif;?>
</div>
<div class="w940">
	<div class="w660">
		<div class="hotTit"><h1 class="f22px left">申请开轻站</h1><p class="backprev"><a href="<?=gurl('/');?>">返回首页</a></p></div>
		<ul>
			<li class="stepFirst">
				填写轻站信息
			</li>
			<li class="stepSecondg">填写申请人真实资料</li>
		</ul>
		<div class="hackbox"></div>
		<form method="post" action="" onSubmit="return Validator.Validate(this,3);">
		<ul class="listApply">
			<li><label><em class="cOrange">*</em>轻站名称:</label>
				<div><input name="name" id="name" onBlur="return;aj_check_opening(this.value, 'name', this);" dataType="LimitD" min="1" max="20" msg="名称格式错误" type="text" class="applyTxt" />
						<p class="f12px cCGray"><em class="cOrange">申请后不得修改</em>，最多10个中文字或20个英文字、数字。</p> 
					
				</div>
			</li>
			<li><label><em class="cOrange">*</em>轻站域名:</label>
				<div><?=c('site_url');?><input name="domain" id="domain" onBlur="aj_check_opening(this.value, 'domain', this);" maxlength="20" dataType="Custom" regexp="^[a-zA-Z\d]{1,20}$" msg="域名格式错误" type="text" class="applyTxt" /> 
						<p class="f12px cCGray"><em class="cOrange">申请后不得修改</em>，最多20个英文字、数字。</p>
					
				</div>
			</li>
			<li><label>轻站描述:</label>
				<div><input style="width:330px" name="description" id="description" dataType="LimitD" min="0" max="40" maxlength="40" msg="必须在20个字之内" type="text" class="applyTxt" /> 
						<p class="f12px cCGray">写出你的轻站精神、口号、用途，最多20个字。</p>
					
				</div>
			</li>
			<li><label><em class="cOrange">*</em>轻站分类:</label>
				<div>
				     <select id="topclass" id="topclass" onchange="aj_change_class(this.value)">
				       <option value="">请选择</option>
					  	<? foreach($topclass as $class):?>
							<option value="<?=$class['id'];?>"><?=$class['name'];?></option>
						<? endforeach;?>
			          </select>
					  <select name="subclass" id="subclass" dataType="Require"  msg="请选择分类">
				        <option value="">请选择</option>
			          </select>
			    </div>
			</li>
		</ul>
		<input type="hidden" name="step" id="step" value="1" />
		<p class="nextStep"><input type="submit" name="dosubmit" id="dosubmit" type="button" value="下一步" /></p>
		</form>
	</div>
	<div class="sider">
		<div class="tipsBox">
			<h3>提醒</h3>
			<ol>
				<li>一个帐号最多创建一个轻站。</li>
				<li>遇到问题，<a href="<?=gurl('about/contact');?>" >联系热闹网客服。</a></li>
			</ol>
		</div>
	</div>
	<div class="hackbox"></div>
</div>
